var express = require("express");
var router = express.Router();
var dbConfig = require("../utils/dbconfig");
var getFunction = require("../controllers/cateControl");
var userlogin  = require('../controllers/loginContriol')
/* GET home page. */
router.get("/", getFunction.getUserInfo);
router.get("/getUserdepartment", getFunction.getDepartment);
router.post("/regUser",userlogin.regUser)
// var userLogin = require("../controllers/loginContriol");
/* GET users listing. */
// router.get("/login", userLogin.login);
module.exports = router;
